package com.travel.server.manager.dto.response.customer;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/11/9 17:30
 * @Desc:
 */
@Data
public class QueryMemberGradeListResponse {

    @JSONField(name = "total_num")
    private Integer totalNum = 0;

    @JSONField(name = "grade_list")
    private List<MemberGradeItem> gradeList = new ArrayList<>();

    @Data
    public static class MemberGradeItem{

        private Integer id;

        @JSONField(name = "grade_name")
        private String gradeName;

        @JSONField(name = "score_limit")
        private String scoreLimit;

        @JSONField(name = "is_default")
        private Integer isDefault;

        @JSONField(name = "member_right")
        private String memberRight;
    }
}
